package com.bodu.depress.mapper;

import com.bodu.core.common.CommonMapper;
import com.bodu.depress.entity.request.DepressSolutionRequest;
import com.bodu.depress.entity.vo.DepressSolutionVo;
import com.bodu.depress.entity.po.DepressSolutionPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 */
@Mapper
public interface DepressSolutionMapper
        extends CommonMapper<DepressSolutionRequest, DepressSolutionVo> {

    /**
     * 根据questionId 得到数据信息
     *
     * @param questionId depress_question
     * @return
     */
    DepressSolutionPo getSolutionModelByQuestionId(@Param("questionId") Long questionId);
}
